package cn.xorange.commons.system.service.platform;

import cn.xorange.commons.core.basic.service.IBaseService;
import cn.xorange.commons.system.entity.platform.SysTenant;
import cn.xorange.commons.system.entity.platform.SysTenantProduct;
import cn.xorange.commons.system.entity.platform.SysTenantSpu;
import cn.xorange.commons.system.entity.platform.SysTenantUsers;

import java.util.List;

/**
 * @author : yangjian
 * date : 2024/6/24
 * description :
 */
public interface ISysTenantService extends IBaseService<SysTenant> {

    List<SysTenantSpu> getTenantSpu(Long tenantId,String status);

    void openTenantSpu(Long tenantId, Long spuId);

    void closeTenantSpu(Long tenantId, Long spuId);

    List<SysTenantUsers> getUsersList(Long tenantId);

    void setUsers(SysTenantUsers users);

    List<SysTenantProduct> getProductList(Long tenantId);

    void setProduct(SysTenantProduct product);
}
